﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Communergy.Common;

namespace CommunergyWebApplication
{
    // NOTE: If you change the interface name "ICommunergyUploadService" here, you must also update the reference to "ICommunergyUploadService" in Web.config.
    [ServiceContract]
    public interface ICommunergyUploadService
    {
        [OperationContract]
        void UploadRealtimeReadings(string meterId, DateTime uploadDateTime, List<RealtimeEnergyReading> realtimeEnergyReadings);

        [OperationContract]
        void UploadHourlyReadings(string meterId, DateTime uploadDateTime, List<HistoricalEnergyReading> hourlyEnergyReadings);
        [OperationContract]
        void UploadDailyReadings(string meterId, DateTime uploadDateTime, List<HistoricalEnergyReading> dailyEnergyReadings);
        [OperationContract]
        void UploadMonthlyReadings(string meterId, DateTime uploadDateTime, List<HistoricalEnergyReading> monthlyEnergyReadings);
   
    
    }

}
